from fastapi import APIRouter


from novelapp.api.shuku import router as shuku_router
from novelapp.api.shudan import router as shudan_router

from novelapp.api.youshu import router as youshu_router
from novelapp.api.shumu import router as shumu_router
# from novelapp.api.shumu_p import router as shumu_p

from novelapp.api.quene_task import router as quene_task_router
from novelapp.api.config import router as config_router
from novelapp.api.qdrank import router as qdrank_router  # 导入新创建的qdrank路由
from novelapp.api.lkbooklist import router as lkbooklist_router  # 导入龙空书单路由

# from app.api.test import router as test_router
from novelapp.api.user import router as user_router
from novelapp.api.atest import router as atest_router
# from . import test 

novel_router = APIRouter()


# router.include_router(test.test, prefix="/test", tags=["test"])
novel_router.include_router(shuku_router, prefix="/shuku", tags=["youshu"])
novel_router.include_router(shudan_router, prefix="/shudan", tags=["youshu"])

novel_router.include_router(youshu_router, prefix="/youshu", tags=["youshu"])
novel_router.include_router(shumu_router, prefix="/shumu", tags=["youshu"])
# novel_router.include_router(shumu_p, prefix="/shumu_p", tags=["youshu"])
novel_router.include_router(quene_task_router, prefix="/quene", tags=["youshu"])
novel_router.include_router(config_router, prefix="/config", tags=["config"])
novel_router.include_router(qdrank_router, prefix="/qdrank", tags=["rank"])  # 添加新的路由
novel_router.include_router(lkbooklist_router, prefix="/lkbooklist", tags=["lkbooklist"])  # 龙空书单路由
novel_router.include_router(atest_router, prefix="/atest_router", tags=["atest"])  # 添加新的路由


novel_router.include_router(user_router, prefix="/user", tags=["user"])



# router.include_router(test_router, prefix="/test", tags=["test"])
# uvicorn main:router --reload